Skip to content

Add FDT Dockerfile for FDT and FDT Agent#23

Open
fixy wants to merge 2 commits intocmscaltech:masterfrom
fixy:add_fdt
Open

Add FDT Dockerfile for FDT and FDT Agent#23
fixy wants to merge 2 commits intocmscaltech:masterfrom
fixy:add_fdt

Conversation

@fixy
Copy link
Copy Markdown
Collaborator

@fixy fixy commented Feb 11, 2024

No description provided.

@juztas juztas self-requested a review February 12, 2024 14:39
Copy link
Copy Markdown
Collaborator

@juztas juztas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These 2 dirs are pretty much equal, only difference is:

CMD ["java", "-jar", "fdt.jar", "-p", "54321", "-autoport", "-portrange", "100", "-agent"]

vs

CMD ["java", "-jar", "fdt.jar", "-p", "54321"]

So I would add everything inside fdt/ directory and have 2 files:

Dockerfile-agent
Dockerfile

and github workflows can build one or another.

@@ -0,0 +1,87 @@
name: Docker Image Build For FDT Agent
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you might want to replace name. Same name will confuse github actions.

Comment thread fdt/build.sh
@@ -0,0 +1,5 @@
for did in `docker images | grep hepgui | awk '{print $3}' | uniq`;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

redundant file. delete

Comment thread fdt/upload.sh
@@ -0,0 +1,5 @@
source ../environment
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

redundant file. delete

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants